package com.xian.figures.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 历史人物信息对象 t_historical_figures
 * 
 * @author jimihua
 * @date 2025-04-02
 */
public class THistoricalFigures extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 朝代 */
    @Excel(name = "朝代")
    private Long dynastyId;

    /** 所属时期 */
    @Excel(name = "所属时期")
    private String period;

    /** 人物描述 */
    @Excel(name = "人物描述")
    private String description;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }

    public void setDynastyId(Long dynastyId) 
    {
        this.dynastyId = dynastyId;
    }

    public Long getDynastyId() 
    {
        return dynastyId;
    }

    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("role", getRole())
            .append("dynastyId", getDynastyId())
            .append("period", getPeriod())
            .append("description", getDescription())
            .append("imageUrl", getImageUrl())
            .toString();
    }
}
